docker-compose down
docker rmi server-eureka:1.0 server-boot-admin:1.0 server-config:1.0 server-gateway:1.0
echo "正在构建环境镜像...$1"
docker build -f server-eureka/Dockerfile -t server-eureka:1.0 --build-arg wannengip="$1" .
docker build -f server-config/Dockerfile -t server-config:1.0 --build-arg wannengip="$1" .
docker build -f server-gateway/Dockerfile -t server-gateway:1.0 --build-arg wannengip="$1" .
docker build -f server-boot-admin/Dockerfile -t server-boot-admin:1.0 .

docker-compose up -d

read -p "环境镜像构建完毕，按回车关闭..."

#docker-compose down
#docker rmi server-eureka:1.0 server-boot-admin:1.0 server-config:1.0 server-gateway:1.0 instances-configuration:1.0 instances-consumer:1.0 instances-user:1.0
#echo "正在构建环境镜像...$1"
#docker build -f server-eureka/Dockerfile -t server-eureka:1.0 --build-arg wannengip="$1" .
#docker build -f server-config/Dockerfile -t server-config:1.0 --build-arg wannengip="$1" .
#docker build -f server-gateway/Dockerfile -t server-gateway:1.0 --build-arg wannengip="$1" .
#docker build -f server-boot-admin/Dockerfile -t server-boot-admin:1.0 .
#docker build -f ../services/services-instances/instances-configuration/Dockerfile -t instances-configuration:1.0 --build-arg wannengip="$1" .
#docker build -f ../services/services-instances/instances-consumer/Dockerfile -t instances-consumer:1.0 --build-arg wannengip="$1" .
#docker build -f ../services/services-instances/instances-user/Dockerfile -t instances-user:1.0 --build-arg wannengip="$1" .
#
#docker-compose up -d
#
#read -p "按回车关闭..."

